<!DOCTYPE html>

<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="utf-8" />
  <link href="../css/bootstrap.css" rel="stylesheet" />
  <link href="../css/all.css" rel="stylesheet" />
  <link href="../css/index.css" rel="stylesheet" />

</head>
<body>

 <div class="widget wid-post">
   <div class="wid-header">
     <h5>共享排行</h5>
   </div>
   <div class="wid-content clear-f">
	   <th:block th:each="user,index:${userList}">
	     <div class="post flex-b-sc">
	       <a class="fl" href="#">
	         <img th:src="${user.headImg}" />
	       </a>
	       <div class="wrapper fl">
	         <h5>
	           <a href="#" th:text="${user.nickname}">张三</a>
	         </h5>
	         <span th:text="'共享'+${user.level}+'本图书'">共享12本图书</span>
	       </div>
	     </div>
	   </th:block>  
   </div>
 </div>

</body>    
</html>